package cn.momoky.ccool.mapper;

import cn.momoky.ccool.pojo.FileMD5;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FileMD5Mapper {

    void add(FileMD5 fileMD5);

    List<String> getMD5ByNodeIds(@Param("nodeIds") List<Long> nodeIds);

    Integer delByNodeId(@Param("nodeIds") List<Long> nodeIds);
}
